package com.hrpmar.pojo;

import java.util.Date;

/**
 * Created by c on 2017-12-04.
 */
public class MessageSender {

    private Integer mid;            //id
    private String woJubnum;        //发信人
    private String title;           //信息标题
    private String content;         //信息内容
    private Date sendDate;          //发送日期
    private Integer fromDeleted;    //是否删除(0:未删除  1:已删除)

    private Worker worker;          //工作人员表

    private MessageReceiver messageReceiver;    //接受人对象

    public MessageReceiver getMessageReceiver() {
        return messageReceiver;
    }

    public void setMessageReceiver(MessageReceiver messageReceiver) {
        this.messageReceiver = messageReceiver;
    }

    public Worker getWorker() {
        return worker;
    }

    public void setWorker(Worker worker) {
        this.worker = worker;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getWoJubnum() {
        return woJubnum;
    }

    public void setWoJubnum(String woJubnum) {
        this.woJubnum = woJubnum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getSendDate() {
        return sendDate;
    }

    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    public Integer getFromDeleted() {
        return fromDeleted;
    }

    public void setFromDeleted(Integer fromDeleted) {
        this.fromDeleted = fromDeleted;
    }
}
